<!DOCTYPE html>
<html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
<head>
<script type="text/javascript" src="catalog/view/javascript/global.js"></script>
<meta charset="UTF-8" />
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
<?php if ($icon) { ?>
<link href="<?php echo $icon; ?>" rel="icon" />
<?php } ?>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>"
	rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<link rel="stylesheet" type="text/css"
	href="catalog/view/theme/ukphone/stylesheet/global.new.css" />
<?php echo $google_analytics; ?>
</head>
<body class="index busca" cz-shortcut-listen="true">
	<header class="navbar navbar-default" role="banner">
		<div class="container">
		<nav class="navbar-collapse collapse" role="navigation">
			<ul class="nav navbar-nav">
				<?php if (isset($this->request->get['route']) || isset($this->request->get['route']) && $this->request->get['route'] != 'common/home') { ?>
				<li class="logo_mini"><a class="logo_mini" href="index.php"><?php echo $name;?></a>
				<?php }?>
				</li>
				<li class="dropdown"><a href="#"
					class="topspam_menu dropdown-toggle" data-toggle="dropdown"><?php echo $text_top_spam;?><i class="fa fa-sort-asc"></i>
				</a>
					<ul class="dropdown-menu">
						<?php foreach($topSpams as $s) : ?>
						<li><a
							href="<?php echo $s['link']; ?>"><?php echo $s['number']; ?>
						</a><span class="num_reports">(<?php echo $s['total_comments']; ?>)
						</span>
						</li>
						<?php endforeach; ?>
					</ul>
				</li>
				<li><a href="<?php echo $report;?>"><?php echo $text_report_a_number;?></a></li>
				<li><a href="<?php echo $top_search;?>"><?php echo $text_top_search;?></a></li>
			</ul>
			<?php 

			?>
			<ul class="nav navbar-nav navbar-right social-bar">
				<li><a
					href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $share_link?>"
					target="_blank"><i class="fa fa-facebook"></i> </a></li>
				<li><a
					href="http://twitter.com/home?status=<?php echo $share_link?>"
					target="_blank"><i class="fa fa-twitter"></i> </a></li>
				<li><a
					href="https://plus.google.com/share?url=<?php echo $share_link?>"
					onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><i
						class="fa fa-google-plus"></i> </a></li>
			</ul>
		</nav>
		</div>
		<!--/.nav-collapse -->
		<div class="mini_search_bar">
			<div class="container">
				<?php if (!isset($this->request->get['route']) || isset($this->request->get['route']) && $this->request->get['route'] == 'common/home') { ?>
				<div id="logo"><a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a></div>
				<?php }else{?>
				<style>
					.center_slide h2{
						display: inline-block;
						font-size: 30px;
    					margin: 0 20px 0 0;
					}
					.search_form{
						display: inline-block;
					}
				</style>
				<?php }?>
				<div class="center_slide">
					<h2><?php echo $text_who_call_me;?></h2>
					<form onsubmit="return controlaBusca();" action="search.php"
						method="get" class="search_form clearfix" name="formTOP"
						id="formTOP">
						<input type="text" required="" maxlength="17"
							placeholder="<?php echo $text_search_header;?>" name="num"
							class="form-control" id="num">
						<button onclick="return controlaBusca();" id="search_submit"
							type="submit">
							<i class="fa fa-search fa-3x"></i>
						</button>
					</form>
				</div>
			</div>
		</div>
	</header>
	<div class="global_container">